/**
 * Created by hao.cheng on 2017/4/22.
 */
const { Breadcrumb, Switch, Icon } = antd;
const { Link } = ReactRouterDOM;

class BreadcrumbCustom extends React.Component {
    state = {
        switcherOn: false,
        theme: null,
    };
    componentDidMount() {

    }
    switcherOn = () => {
        this.setState({
            switcherOn: !this.state.switcherOn
        })
    };
    themeChange = (v) => {

    };
    render() {

        const first = <Breadcrumb.Item>{this.props.first}</Breadcrumb.Item> || '';
        const second = <Breadcrumb.Item>{this.props.second}</Breadcrumb.Item> || '';
        return (
            <span>
                <Breadcrumb style={{ margin: '12px 0' }}>

                        {first}
                        {second}
                </Breadcrumb>

            </span>
        )
    }
}

